Skip to main content

All Questions

0votes
2answers
157views

How to combine two text formatting commands into one?

How does one combine two commands like the ones shown below into one command with one output file? first command: printf '%s\n' {001..500} input > output second command: sed 's/^/PREFIX /; s/$/ ...
Anonymous's user avatar

close